home *** CD-ROM | disk | FTP | other *** search
- ISTREAM(3C) Last changed: 1-7-99
-
-
- NNAAMMEE
- iissttrreeaamm - Formatted and unformatted input
-
- SSYYNNOOPPSSIISS
- ##iinncclluuddee <<iioossttrreeaamm..hh>>
- ttyyppeeddeeff lloonngg ssttrreeaammooffff,, ssttrreeaammppooss;;
- ccllaassss iiooss {{
- ppuubblliicc::
- eennuumm sseeeekk__ddiirr {{ bbeegg,, ccuurr,, eenndd }};;
- eennuumm ooppeenn__mmooddee {{ iinn,, oouutt,, aattee,, aapppp,, ttrruunncc,, nnooccrreeaattee,, nnoorreeppllaaccee }}
- ;;
- //** ffllaaggss ffoorr ccoonnttrroolllliinngg ffoorrmmaatt **//
- eennuumm {{ sskkiippwwss==0011,,
- lleefftt==0022,, rriigghhtt==0044,, iinntteerrnnaall==001100,,
- ddeecc==002200,, oocctt==004400,, hheexx==00110000,,
- sshhoowwbbaassee==00220000,, sshhoowwppooiinntt==00440000,, uuppppeerrccaassee==0011000000,,
- sshhoowwppooss==0022000000,,
- sscciieennttiiffiicc==0044000000,, ffiixxeedd==001100000000,,
- uunniittbbuuff==002200000000,, ssttddiioo==004400000000 }};;
- //// aanndd lloottss ooff ootthheerr ssttuuffff,, sseeee iiooss((33CC)) ......
- }} ;;
-
- ccllaassss iissttrreeaamm :: ppuubblliicc iiooss {{
- ppuubblliicc::
- iissttrreeaamm((ssttrreeaammbbuuff**));;
- iinntt ggccoouunntt(());;
- iissttrreeaamm&& ggeett((cchhaarr** ppttrr,, iinntt lleenn,, cchhaarr ddeelliimm==''\\nn''));;
- iissttrreeaamm&& ggeett((uunnssiiggnneedd cchhaarr** ppttrr,,iinntt lleenn,, cchhaarr ddeelliimm==''\\nn''));;
-
- iissttrreeaamm&& ggeett((uunnssiiggnneedd cchhaarr&&));;
- iissttrreeaamm&& ggeett((cchhaarr&&));;
- iissttrreeaamm&& ggeett((ssttrreeaammbbuuff&& ssbb,, cchhaarr ddeelliimm ==''\\nn''));;
- iinntt ggeett(());;
- iissttrreeaamm&& ggeettlliinnee((cchhaarr** ppttrr,, iinntt lleenn,, cchhaarr ddeelliimm==''\\nn''));;
- iissttrreeaamm&& ggeettlliinnee((uunnssiiggnneedd cchhaarr** ppttrr,, iinntt lleenn,, cchhaarr ddeelliimm==''\\nn''));;
- iissttrreeaamm&& iiggnnoorree((iinntt lleenn==11,,iinntt ddeelliimm==EEOOFF));;
- iinntt iippffxx((iinntt nneeeedd==00));;
- iinntt ppeeeekk(());;
- iissttrreeaamm&& ppuuttbbaacckk((cchhaarr));;
- iissttrreeaamm&& rreeaadd((cchhaarr** ss,, iinntt nn));;
- iissttrreeaamm&& rreeaadd((uunnssiiggnneedd cchhaarr** ss,, iinntt nn));;
- iissttrreeaamm&& sseeeekkgg((ssttrreeaammppooss));;
- iissttrreeaamm&& sseeeekkgg((ssttrreeaammooffff,, sseeeekk__ddiirr));;
- iinntt ssyynncc(());;
- ssttrreeaammppooss tteellllgg(());;
-
- iissttrreeaamm&& ooppeerraattoorr>>>>((cchhaarr**));;
- iissttrreeaamm&& ooppeerraattoorr>>>>((cchhaarr&&));;
- iissttrreeaamm&& ooppeerraattoorr>>>>((sshhoorrtt&&));;
- iissttrreeaamm&& ooppeerraattoorr>>>>((iinntt&&));;
- iissttrreeaamm&& ooppeerraattoorr>>>>((lloonngg&&));;
- iissttrreeaamm&& ooppeerraattoorr>>>>((ffllooaatt&&));;
- iissttrreeaamm&& ooppeerraattoorr>>>>((ddoouubbllee&&));;
- iissttrreeaamm&& ooppeerraattoorr>>>>((uunnssiiggnneedd cchhaarr**));;
- iissttrreeaamm&& ooppeerraattoorr>>>>((uunnssiiggnneedd cchhaarr&&));;
- iissttrreeaamm&& ooppeerraattoorr>>>>((uunnssiiggnneedd sshhoorrtt&&));;
- iissttrreeaamm&& ooppeerraattoorr>>>>((uunnssiiggnneedd iinntt&&));;
- iissttrreeaamm&& ooppeerraattoorr>>>>((uunnssiiggnneedd lloonngg&&));;
- iissttrreeaamm&& ooppeerraattoorr>>>>((ssttrreeaammbbuuff**));;
- iissttrreeaamm&& ooppeerraattoorr>>>>((iissttrreeaamm&& ((**))((iissttrreeaamm&&))));;
- iissttrreeaamm&& ooppeerraattoorr>>>>((iiooss&& ((**))((iiooss&&))));;
- }};;
-
- ccllaassss iissttrreeaamm__wwiitthhaassssiiggnn :: ppuubblliicc iissttrreeaamm {{
- iissttrreeaamm__wwiitthhaassssiiggnn(());;
- iissttrreeaamm&& ooppeerraattoorr==((iissttrreeaamm&&));;
- iissttrreeaamm&& ooppeerraattoorr==((ssttrreeaammbbuuff**));;
- }};;
-
- eexxtteerrnn iissttrreeaamm__wwiitthhaassssiiggnn cciinn;;
-
- iissttrreeaamm&& wwss((iissttrreeaamm&&)) ;;
- iiooss&& ddeecc((iiooss&&)) ;;
- iiooss&& hheexx((iiooss&&)) ;;
- iiooss&& oocctt((iiooss&&)) ;;
-
- IIMMPPLLEEMMEENNTTAATTIIOONN
- IRIX systems
-
- DDEESSCCRRIIPPTTIIOONN
- iissttrreeaamm information supports interpretation of characters fetched from
- an associated ssttrreeaammbbuuff. These are commonly referred to as input or
- extraction operations. The description of iissttrreeaamm member functions
- and related functions follows.
-
- The following descriptions assume the following:
-
- * _i_n_s is an iissttrreeaamm.
- _i_n_s_w_a is an iissttrreeaamm__wwiitthhaassssiiggnn.
-
- * _i_n_s_p is a iissttrreeaamm**.
-
- * _c is a cchhaarr&&
-
- * _d_e_l_i_m is a cchhaarr.
-
- * _p_t_r is a cchhaarr** or uunnssiiggnneedd cchhaarr**.
-
- * _s_b is a ssttrreeaammbbuuff&&.
-
- * _i, _n, _l_e_n, _d, and _n_e_e_d are iinntts.
-
- * _p_o_s is a ssttrreeaammppooss.
-
- * _o_f_f is a ssttrreeaammooffff.
-
- * _d_i_r is a sseeeekk__ddiirr.
-
- * _m_a_n_i_p is a function with type iissttrreeaamm&& ((**))((iissttrreeaamm&&)).
-
- CCoonnssttrruuccttoorrss aanndd AAssssiiggnnmmeenntt
- iissttrreeaamm((_s_b))
- Initializes iiooss state variables and associates buffer _s_b with the
- iissttrreeaamm.
-
- iissttrreeaamm__wwiitthhaassssiiggnn(())
- Initialization is not performed.
-
- _i_n_s_w_a==_s_b
- Associates _s_b with _i_n_s_w_a and initializes the entire state of
- _i_n_s_w_a.
-
- _i_n_s_w_a==_i_n_s
- Associates _i_n_s-->>rrddbbuuff(()) _w_i_t_h _i_n_s_w_a _a_n_d _i_n_i_t_i_a_l_i_z_e_s _t_h_e _e_n_t_i_r_e
- _s_t_a_t_e _o_f _i_n_s_w_a.
-
- IInnppuutt PPrreeffiixx FFuunnccttiioonn
- _i == _i_n_s..iippffxx((_n_e_e_d))
- If the error state of _i_n_s is non-zero, zero is returned
- immediately. If necessary (and if it is non-null), any iiooss
- associated with _i_n_s is flushed (see the description of iiooss::::ttiiee(())
- on the iiooss(3C) man page). Flushing is considered necessary if
- either _n_e_e_d====00 _o_r _i_f _t_h_e_r_e _a_r_e _f_e_w_e_r _t_h_a_n _n_e_e_d _c_h_a_r_a_c_t_e_r_s
- _i_m_m_e_d_i_a_t_e_l_y _a_v_a_i_l_a_b_l_e. _I_f iiooss::::sskkiippwwss _i_s _s_e_t _i_n _i_n_s..ffllaaggss(()) _a_n_d
- _n_e_e_d _i_s _z_e_r_o, _t_h_e_n _l_e_a_d_i_n_g _w_h_i_t_e_s_p_a_c_e _c_h_a_r_a_c_t_e_r_s _a_r_e _e_x_t_r_a_c_t_e_d
- _f_r_o_m _i_n_s. iippffxx(()) _r_e_t_u_r_n_s _z_e_r_o _i_f _a_n _e_r_r_o_r _o_c_c_u_r_s _w_h_i_l_e _s_k_i_p_p_i_n_g
- _w_h_i_t_e_s_p_a_c_e; _o_t_h_e_r_w_i_s_e, _i_t _r_e_t_u_r_n_s _n_o_n-_z_e_r_o.
-
- Formatted input functions call iippffxx((00)), while unformatted input
- functions call iippffxx((11)); see the "Formatted Input Functions
- (Extractors)" subsection.
-
- FFoorrmmaatttteedd IInnppuutt FFuunnccttiioonnss ((EExxttrraaccttoorrss))
- _i_n_s>>>>_x
- Calls iippffxx((00)) and, if that returns non-zero, extracts characters
- from _i_n_s and converts them according to the type of _x. It stores
- the converted value in _x. Errors are indicated by setting the
- error state of _i_n_s. iiooss::::ffaaiillbbiitt means that characters in _i_n_s
- were not a representation of the required type. iiooss::::bbaaddbbiitt
- indicates that attempts to extract characters failed. _i_n_s is
- always returned.
-
- The details of conversion depend on the values of format state flags
- and variables of _i_n_s (see iiooss(3C)) and the type of _x. Extractions
- that use width reset it to 0; otherwise, the extraction operators do
- not change the value of oossttrreeaamm's format state. Extractors are
- defined for the following types, with conversion rules as follows:
-
- cchhaarr**, uunnssiiggnneedd cchhaarr**
- Characters are stored in the array pointed at by _x until a
- whitespace character is found in _i_n_s. The terminating whitespace
- is left in _i_n_s. If _i_n_s..wwiiddtthh(()) _i_s _n_o_n-_z_e_r_o, _i_t _i_s _a_s_s_u_m_e_d _t_o _b_e
- _t_h_e _s_i_z_e _o_f _t_h_e _a_r_r_a_y, _a_n_d _n_o _m_o_r_e _t_h_a_n _i_n_s..wwiiddtthh(())--11 _c_h_a_r_a_c_t_e_r_s
- _a_r_e _e_x_t_r_a_c_t_e_d. _A _t_e_r_m_i_n_a_t_i_n_g _n_u_l_l _c_h_a_r_a_c_t_e_r (_0) _i_s _a_l_w_a_y_s _s_t_o_r_e_d
- (_e_v_e_n _w_h_e_n _n_o_t_h_i_n_g _e_l_s_e _i_s _d_o_n_e _b_e_c_a_u_s_e _o_f _i_n_s'_s _e_r_r_o_r _s_t_a_t_u_s).
- _i_n_s..wwiiddtthh(()) _i_s _r_e_s_e_t _t_o _0.
-
- cchhaarr&&, uunnssiiggnneedd cchhaarr&&
- A character is extracted and stored in _x.
-
-
- sshhoorrtt&&, uunnssiiggnneedd sshhoorrtt&&,
- iinntt&&, uunnssiiggnneedd iinntt&&,
- lloonngg&&, uunnssiiggnneedd lloonngg&&
-
- Characters are extracted and converted to an integral value according
- to the conversion specified in _i_n_s's format flags. Converted
- characters are stored in _x. The first character may be a sign (++ or
- --). After that, if iiooss::::oocctt, iiooss::::ddeecc, or iiooss::::hheexx is set in
- _i_n_s..ffllaaggss(()), _t_h_e _c_o_n_v_e_r_s_i_o_n _i_s _o_c_t_a_l, _d_e_c_i_m_a_l, _o_r _h_e_x_a_d_e_c_i_m_a_l,
- _r_e_s_p_e_c_t_i_v_e_l_y. _C_o_n_v_e_r_s_i_o_n _i_s _t_e_r_m_i_n_a_t_e_d _b_y _t_h_e _f_i_r_s_t _n_o_n-_d_i_g_i_t, _w_h_i_c_h
- _i_s _l_e_f_t _i_n _i_n_s. _O_c_t_a_l _d_i_g_i_t_s _a_r_e _t_h_e _c_h_a_r_a_c_t_e_r_s '_0' _t_o '_7'. _D_e_c_i_m_a_l
- _d_i_g_i_t_s _a_r_e _t_h_e _o_c_t_a_l _d_i_g_i_t_s _p_l_u_s '_8' _a_n_d '_9'. _H_e_x_a_d_e_c_i_m_a_l _d_i_g_i_t_s _a_r_e
- _t_h_e _d_e_c_i_m_a_l _d_i_g_i_t_s _p_l_u_s _t_h_e _l_e_t_t_e_r_s '_a' _t_h_r_o_u_g_h '_f' (_i_n _e_i_t_h_e_r _u_p_p_e_r
- _o_r _l_o_w_e_r_c_a_s_e). _I_f _n_o_n_e _o_f _t_h_e _c_o_n_v_e_r_s_i_o_n _b_a_s_e _f_o_r_m_a_t _f_l_a_g_s _i_s _s_e_t,
- _t_h_e_n _t_h_e _n_u_m_b_e_r _i_s _i_n_t_e_r_p_r_e_t_e_d _a_c_c_o_r_d_i_n_g _t_o _C++ _l_e_x_i_c_a_l _c_o_n_v_e_n_t_i_o_n_s.
- _T_h_a_t _i_s, _i_f _t_h_e _f_i_r_s_t _c_h_a_r_a_c_t_e_r_s (_a_f_t_e_r _t_h_e _o_p_t_i_o_n_a_l _s_i_g_n) _a_r_e 00xx _o_r
- 00XX, _a _h_e_x_a_d_e_c_i_m_a_l _c_o_n_v_e_r_s_i_o_n _i_s _p_e_r_f_o_r_m_e_d _o_n _f_o_l_l_o_w_i_n_g _h_e_x_a_d_e_c_i_m_a_l
- _d_i_g_i_t_s. _I_f _t_h_e _f_i_r_s_t _c_h_a_r_a_c_t_e_r _i_s _a 00, _a_n _o_c_t_a_l _c_o_n_v_e_r_s_i_o_n _i_s
- _p_e_r_f_o_r_m_e_d, _a_n_d _i_n _a_l_l _o_t_h_e_r _c_a_s_e_s, _a _d_e_c_i_m_a_l _c_o_n_v_e_r_s_i_o_n _i_s _p_e_r_f_o_r_m_e_d.
- iiooss::::ffaaiillbbiitt _i_s _s_e_t _i_f _t_h_e_r_e _a_r_e _n_o _d_i_g_i_t_s (_n_o_t _c_o_u_n_t_i_n_g _t_h_e 00 _i_n 00xx
- _o_r 00XX) _d_u_r_i_n_g _h_e_x _c_o_n_v_e_r_s_i_o_n) _a_v_a_i_l_a_b_l_e.
-
- ffllooaatt&&, ddoouubbllee&&
- Converts the characters according to C++ syntax for a float or
- double, and stores the result in _x. iiooss::::ffaaiillbbiitt is set if there
- are no digits available in _i_n_s or if it does not begin with a
- well formed floating point number.
-
- The type and name (ooppeerraattoorr>>>>) of the extraction operations are chosen
- to give a convenient syntax for sequences of input operations. The
- operator overloading of C++ permits extraction functions to be
- declared for user-defined classes. These operations can then be used
- with the same syntax as the member functions described here.
-
- _i_n_s>>>>_s_b
- If iiooss..iippffxx((00)) returns non-zero, extracts characters from iiooss and
- inserts them into _s_b. Extraction stops when EEOOFF is reached.
- Always returns _i_n_s.
-
- UUnnffoorrmmaatttteedd iinnppuutt ffuunnccttiioonnss::
- These functions call iippffxx((11)) and proceed only if it returns nonzero:
-
- _i_n_s_p==&&_i_n_s..ggeett((_p_t_r,,_l_e_n,,_d_e_l_i_m))
- Extracts characters and stores them in the byte array
- beginning at _p_t_r and extending for _l_e_n bytes. Extraction
- stops when _d_e_l_i_m is encountered (_d_e_l_i_m is left in _i_n_s and
- not stored), when _i_n_s has no more characters, or when the
- array has only one byte left. ggeett always stores a
- terminating null, even if it doesn't extract any characters
- from _i_n_s because of its error status. iiooss::::ffaaiillbbiitt is set
- only if ggeett encounters an end of file before it stores any
- characters.
-
- _i_n_s_p==&&_i_n_s..ggeett((_c))
- Extracts a single character and stores it in _c.
-
- _i_n_s_p==&&_i_n_s..ggeett((_s_b,,_d_e_l_i_m))
- Extracts characters from _i_n_s..rrddbbuuff(()) _a_n_d _s_t_o_r_e_s _t_h_e_m _i_n_t_o
- _s_b. _I_t _s_t_o_p_s _i_f _i_t _e_n_c_o_u_n_t_e_r_s _e_n_d _o_f _f_i_l_e _o_r _i_f _a _s_t_o_r_e
- _i_n_t_o _s_b _f_a_i_l_s _o_r _i_f _i_t _e_n_c_o_u_n_t_e_r_s _d_e_l_i_m (_w_h_i_c_h _i_t _l_e_a_v_e_s _i_n
- _i_n_s). iiooss::::ffaaiillbbiitt _i_s _s_e_t _i_f _i_t _s_t_o_p_s _b_e_c_a_u_s_e _t_h_e _s_t_o_r_e
- _i_n_t_o _s_b _f_a_i_l_s.
-
- _i==_i_n_s..ggeett(()).
- Extracts a character and returns it. _i is EEOOFF if extraction
- encounters end of file. iiooss::::ffaaiillbbiitt is never set.
-
- _i_n_s_p==&&_i_n_s..ggeettlliinnee((_p_t_r,,_l_e_n,,_d_e_l_i_m))
- Does the same thing as _i_n_s..ggeett((_p_t_r,,_l_e_n,,_d_e_l_i_m)) _w_i_t_h _t_h_e
- _e_x_c_e_p_t_i_o_n _t_h_a_t _i_t _e_x_t_r_a_c_t_s _a _t_e_r_m_i_n_a_t_i_n_g _d_e_l_i_m _c_h_a_r_a_c_t_e_r
- _f_r_o_m _i_n_s. _I_n _c_a_s_e _d_e_l_i_m _o_c_c_u_r_s _w_h_e_n _e_x_a_c_t_l_y _l_e_n _c_h_a_r_a_c_t_e_r_s
- _h_a_v_e _b_e_e_n _e_x_t_r_a_c_t_e_d, _t_e_r_m_i_n_a_t_i_o_n _i_s _t_r_e_a_t_e_d _a_s _b_e_i_n_g _d_u_e _t_o
- _t_h_e _a_r_r_a_y _b_e_i_n_g _f_i_l_l_e_d, _a_n_d _t_h_i_s _d_e_l_i_m _i_s _l_e_f_t _i_n _i_n_s.
-
- _i_n_s_p==&&_i_n_s..iiggnnoorree((_n,,_d))
- Extracts and throws away up to _n characters. Extraction
- stops prematurely if _d is extracted or end of file is
- reached. If _d is EEOOFF it can never cause termination.
-
- _i_n_s_p==&&_i_n_s..rreeaadd((_p_t_r,,_n))
- Extracts _n characters and stores them in the array beginning
- at _p_t_r. If end of file is reached before _n characters have
- been extracted, rreeaadd stores whatever it can extract and sets
- iiooss::::ffaaiillbbiitt. The number of characters extracted can be
- determined via _i_n_s..ggccoouunntt(()).
-
- OOtthheerr MMeemmbbeerrss
- _i==_i_n_s..ggccoouunntt(())
- Returns the number of characters extracted by the last
- unformatted input function. Formatted input functions may
- call unformatted input functions and thereby reset this
- number.
-
- _i==_i_n_s..ppeeeekk(())
- Begins by calling _i_n_s..iippffxx((11)). _I_f _t_h_a_t _c_a_l_l _r_e_t_u_r_n_s _z_e_r_o _o_r
- _i_f _i_n_s _i_s _a_t _e_n_d _o_f _f_i_l_e, _i_t _r_e_t_u_r_n_s EEOOFF. _O_t_h_e_r_w_i_s_e _i_t
- _r_e_t_u_r_n_s _t_h_e _n_e_x_t _c_h_a_r_a_c_t_e_r _w_i_t_h_o_u_t _e_x_t_r_a_c_t_i_n_g _i_t.
-
- _i_n_s_p==&&_i_n_s..ppuuttbbaacckk((_c))
- Attempts to back up _i_n_s..rrddbbuuff(()). _c _m_u_s_t _b_e _t_h_e _c_h_a_r_a_c_t_e_r
- _b_e_f_o_r_e _i_n_s..rrddbbuuff(())'_s _g_e_t _p_o_i_n_t_e_r. (_U_n_l_e_s_s _o_t_h_e_r _a_c_t_i_v_i_t_y _i_s
- _m_o_d_i_f_y_i_n_g _i_n_s..rrddbbuuff(()) _t_h_i_s _i_s _t_h_e _l_a_s_t _c_h_a_r_a_c_t_e_r _e_x_t_r_a_c_t_e_d
- _f_r_o_m _i_n_s.) _I_f _i_t _i_s _n_o_t, _t_h_e _e_f_f_e_c_t _i_s _u_n_d_e_f_i_n_e_d. ppuuttbbaacckk
- _m_a_y _f_a_i_l (_a_n_d _s_e_t _t_h_e _e_r_r_o_r _s_t_a_t_e). _A_l_t_h_o_u_g_h _i_t _i_s _a _m_e_m_b_e_r
- _o_f iissttrreeaamm, ppuuttbbaacckk _n_e_v_e_r _e_x_t_r_a_c_t_s _c_h_a_r_a_c_t_e_r_s, _s_o _i_t _d_o_e_s
- _n_o_t _c_a_l_l _i_p_f_x. _I_t _w_i_l_l, _h_o_w_e_v_e_r, _r_e_t_u_r_n _w_i_t_h_o_u_t _d_o_i_n_g
- _a_n_y_t_h_i_n_g _i_f _t_h_e _e_r_r_o_r _s_t_a_t_e _i_s _n_o_n-_z_e_r_o.
-
- _i==&&_i_n_s..ssyynncc(())
- Establishes consistency between internal data structures and
- the external source of characters. Calls _i_n_s..rrddbbuuff(())--
- >>ssyynncc(()), _w_h_i_c_h _i_s _a _v_i_r_t_u_a_l _f_u_n_c_t_i_o_n, _s_o _t_h_e _d_e_t_a_i_l_s _d_e_p_e_n_d
- _o_n _t_h_e _d_e_r_i_v_e_d _c_l_a_s_s. _R_e_t_u_r_n_s EEOOFF _t_o _i_n_d_i_c_a_t_e _e_r_r_o_r_s.
-
- _i_n_s>>>>mmaanniipp
- Equivalent to mmaanniipp((_i_n_s)). _S_y_n_t_a_c_t_i_c_a_l_l_y _t_h_i_s _l_o_o_k_s _l_i_k_e _a_n
- _e_x_t_r_a_c_t_o_r _o_p_e_r_a_t_i_o_n, _b_u_t _s_e_m_a_n_t_i_c_a_l_l_y _i_t _d_o_e_s _a_n _a_r_b_i_t_r_a_r_y
- _o_p_e_r_a_t_i_o_n _r_a_t_h_e_r _t_h_a_n _c_o_n_v_e_r_t_i_n_g _a _s_e_q_u_e_n_c_e _o_f _c_h_a_r_a_c_t_e_r_s
- _a_n_d _s_t_o_r_i_n_g _t_h_e _r_e_s_u_l_t _i_n mmaanniipp. _A _p_r_e_d_e_f_i_n_e_d _m_a_n_i_p_u_l_a_t_o_r,
- _w_s, _i_s _d_e_s_c_r_i_b_e_d _b_e_l_o_w.
-
- MMeemmbbeerr ffuunnccttiioonnss rreellaatteedd ttoo ppoossiittiioonniinngg
- _i_n_s_p==&&_i_n_s..sseeeekkgg((_o_f_f,,_d_i_r))
- Repositions _i_n_s..rrddbbuuff(())'_s _g_e_t _p_o_i_n_t_e_r. _S_e_e ssbbuuff..ppuubb(_3_C) _f_o_r
- _a _d_i_s_c_u_s_s_i_o_n _o_f _p_o_s_i_t_i_o_n_i_n_g.
-
- _i_n_s_p==&&_i_n_s..sseeeekkgg((_p_o_s))
- Repositions _i_n_s..rrddbbuuff(())'_s _g_e_t _p_o_i_n_t_e_r. _S_e_e ssbbuuff..ppuubb(_3_C) _f_o_r
- _a _d_i_s_c_u_s_s_i_o_n _o_f _p_o_s_i_t_i_o_n_i_n_g.
-
- _p_o_s==_i_n_s..tteellllgg(())
- The current position of iiooss..rrddbbuuff(())'s get pointer. See
- ssbbuuff..ppuubb(3C) for a discussion of positioning.
-
- MMaanniippuullaattoorr
- _i_n_s>>>>_w_s
- Extracts whitespace characters.
-
- _i_n_s>>>>_d_e_c
- Sets the conversion base format flag to 10. See iiooss(3C).
-
- _i_n_s>>>>_h_e_x
- Sets the conversion base format flag to 16. See iiooss(3C).
-
- _i_n_s>>>>_o_c_t
- Sets the conversion base format flag to 8. See iiooss(3C).
-
- SSEEEE AALLSSOO
- iiooss(3C), ssbbuuff..ppuubb(3C), mmaanniipp(3C)
-
- This man page is available only online.
-